class GenShinImpact:
    def __init__(self, game, character):   
        print("GenShin:")
        print(game)
        print(character)
    def state(self, state = "更新中"):
        print(state)
game_1 = "原神；崩坏·星穹铁道"
character_1 = "芙宁娜"
character_2 = "那维莱特"
GenShinImpactGame = GenShinImpact(game_1, character_1) #创建一个实例
GenShinImpactGame.state("维护中")